package com.zeekr.orm.common;

import lombok.Data;

/**
 * @author 吴文杰
 * @version 1.0
 * @since 2024/11/14 23:37
 */
@Data
public class PageRequest {
  /**
   * 当前页
   */
  private int current;

  /**
   * 页面大小
   */
  private int pageSize;

  /**
   * 排序字段
   */
  private String sortField;

  /**
   * 排序顺序(默认升序)
   */
  private String sortOrder = CommonConstant.SORT_ORDER_ASC;
}
